﻿using System.ComponentModel.DataAnnotations;

using Microsoft.EntityFrameworkCore;

using Xc.DataAccess.Protocoals.WaterMeters.Models;

namespace Xc.WaterMeters.ClientHost.Models
{
    public class ApplicationDbContext : DbContext
    {
        /// <summary>
        /// 表具信息
        /// </summary>
        public DbSet<MeterInfo> MeterInfos { get; set; }
        /// <summary>
        /// 设备状态信息
        /// </summary>
        public DbSet<MeterStatusInfo> MeterStatusInfos { get; set; }
    }
}
